package com.deman.framework.rpc.config;

public class ServiceNode {
   private String name;
   private String ip;
   private  int port;

   public ServiceNode(String name) {
      this.name = name;
   }

   public ServiceNode(String name, String ip, int port) {
      this.name = name;
      this.ip = ip;
      this.port = port;
   }

   public String getName() {
      return name;
   }

   public void setName(String name) {
      this.name = name;
   }

   public String getIp() {
      return ip;
   }

   public void setIp(String ip) {
      this.ip = ip;
   }

   public int getPort() {
      return port;
   }

   public void setPort(int port) {
      this.port = port;
   }
}
